﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Runda.CMS.Common.Utility;

namespace Runda.CMS.Common.Entity
{
    [Serializable]
    [TableName("Cms_Sys_AutoCodeRule")]
    public class SysAutoCodeRuleEntity : EntityBase
    {
        #region 构造函数
		///<summary>
		///
		///</summary>
        public SysAutoCodeRuleEntity()
        {

        }

		 
		#endregion

        #region 字段

        ///<summary>
        ///
        ///</summary>	
        private string _AutoCodeRuleId;

        ///<summary>
        ///
        ///</summary>	
        private string _RuleName;

        ///<summary>
        ///
        ///</summary>	
        private string _RuleFormat;

        ///<summary>
        ///
        ///</summary>	
        private int _ResetType;

        ///<summary>
        ///
        ///</summary>	
        private int _Seed;

        ///<summary>
        ///
        ///</summary>	
        private DateTime _ResetDate;

        #endregion

        #region 公共属性


        ///<summary>
        ///
        ///</summary>
        [PrimaryKey]
        public string AutoCodeRuleId
        {
            get { return _AutoCodeRuleId; }
            set { _AutoCodeRuleId = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public string RuleName
        {
            get { return _RuleName; }
            set { _RuleName = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public string RuleFormat
        {
            get { return _RuleFormat; }
            set { _RuleFormat = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public int ResetType
        {
            get { return _ResetType; }
            set { _ResetType = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public int Seed
        {
            get { return _Seed; }
            set { _Seed = value; }
        }

        ///<summary>
        ///
        ///</summary>
        public DateTime ResetDate
        {
            get { return _ResetDate; }
            set { _ResetDate = value; }
        }

        #endregion
    }
}
